/**
 * @author luguoxiang
 * @date 2022/7/5
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
import { createApi, request } from '@/soar';

export const basePath = '/system/tenant-user';
export const subject = '租户用户';
const api = createApi(basePath, subject);

export default {
  ...api,
  getUser(code: string) {
    return request({
      url: `${basePath}/getUser`,
      method: 'GET',
      params: { code },
    });
  },
};
